package com.kxmall.huishou.domain.bo;

import com.kxmall.common.core.domain.BaseEntity;
import com.kxmall.common.core.validate.AddGroup;
import com.kxmall.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;


/**
 * 平台信息业务对象 hs_plat_info
 *
 * @author kxmall
 * @date 2023-11-23
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class HsPlatInfoBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 公司名称
     */
    @NotBlank(message = "公司名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 公司简介
     */
    @NotBlank(message = "公司简介不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 公司地址
     */
    @NotBlank(message = "公司地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String address;

    /**
     * 联系人
     */
    @NotBlank(message = "联系人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contactor;

    /**
     * 联系电话
     */
    @NotBlank(message = "联系电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String telephone;

    /**
     * 邮箱地址
     */
    @NotBlank(message = "邮箱地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String email;

    /**
     * 微信二维码
     */
    @NotBlank(message = "微信二维码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String wechatUrl;

    /**
     * qq二维码
     */
    @NotBlank(message = "qq二维码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String qqUrl;


}
